home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 2 / Atari Mega Archive CD - Volume 2.iso / linux / faq < prev    next >
Encoding:
Text File  |  1995-04-22  |  18.0 KB  |  427 lines

  1.  
  2. Last-modified: 95-03-13
  3. Maintained-By: Joerg Mayer <jmayer@informatik.uni-kl.de>
  4. Posting-Frequency: bi-weekly
  5. Archive-name:
  6.  
  7.                 Frequently Asked Questions on Linux/m68k
  8.               A Linux port to Motorola's 680x0 processors
  9.  
  10. Version of this FAQ  : 1
  11. Version of Linux/m68k: 09pl5
  12. Version of Linux     : 1.2pl0
  13.  
  14.  
  15. i) Introduction
  16. ===============
  17.  
  18. This is an updated version of the Linux/m68k FAQ. Since it probably contains
  19. errors (typographical and logical), outdated and missing infos, I ask that
  20. you send feedback and corrections to me. This document is not intended to
  21. describe what Unix is or how to to administrate it. To find out more about
  22. that read the standard Linux manuals.
  23.  
  24. ii) Newsflash
  25. =============
  26. - Linux/m68k 0.9 Patchlevel 5 released (Hamish)
  27. - Hamish will no longer post to the mailing list at niksula.hut.fi as it is
  28.   being phased out. Please use the one at vger.rutgers.edu.
  29. - Mega patches for pl 5 by Andreas Schwab on the mailinglist (most but not
  30.   all for Atari).
  31.  
  32. iii) Contents
  33. =============
  34.  
  35. i Introduction
  36. ii Newsflash
  37. iii Contents
  38. 1. About Linux and Linux/m68k
  39. 2. Requirements to run Linux/m68k
  40.   2.1 Processor
  41.   2.2 RAM
  42.   2.3 Harddisk
  43.   2.4 Software
  44. 3. Similarities and differences of Amiga and Atari Linux/m68k
  45.   3.1 Similarities
  46.   3.2 Differences
  47. 4. The current status of Linux/m68k
  48.   4.1 General
  49.   4.2 Amiga
  50.   4.3 Atari
  51.   4.4 Mac
  52.   4.5 PC
  53. 5. Hints on installing Linux/m68k
  54. 6. Sources for information/sources/binaries
  55.   6.1 Documentation
  56.   6.2 Newsgroups
  57.   6.3 Mailinglists
  58.   6.4 WWW-sites
  59.   6.5 Ftp-sites
  60.   6.6 Modem
  61.   6.7 Distributions
  62. 7. Activities
  63.   7.1 Coordinator 
  64.   7.2 Bug reports/Known bugs
  65.   7.3 Under construction/To do
  66. 8. Famous last words
  67.  
  68.  
  69.  
  70. 1. About Linux and Linux/m68k
  71. =============================
  72.  
  73. Linux is a freely available operating system for PCs - to be more precise,
  74. it is one of many flavours of Unix. Linux is being developed on the net by
  75. several thousand people and being tested/used by many many more.
  76. The fun and success of Linux inspired some people to port it to another
  77. platform - the Amiga. The first version released to the general public was
  78. 005. While 008 was current, a few enthusiasts ported that version to the Atari
  79. and the two versions have been successfully merged with 09pl3 (this reads
  80. version 09 patchlevel 3). Linux/m68k can be regarded as beta. This means that
  81. code that hasn't been ported/written recently works well most of the time.
  82. Hamish is working to integrate the m68k code into the main Linux source tree.
  83.  
  84. 2. Requirements to run Linux/m68k
  85. =================================
  86.  
  87. 2.1 Processor
  88. -------------
  89. You need a Motorola 680x0 processor *with PMMU*. There is *no way* to run
  90. it without one. This reduces the list of possible processors to 68020+68851,
  91. 68030, 68040, 68LC040, 68060. Currently only the 68020+68851, 68030 and
  92. 68040 are supported. At this stage you will also need a 68881 or 68882 FPU
  93. if you don't have a 68040.  A FPU is not strictly necessary as it can be
  94. emulated with the normal processor, however nobody has written the code to
  95. do so. This list of processors excludes the 68000, 68010, 68EC020, 68EC030,
  96. 68EC040.  Linux/m68k can *never* run on these processors as they lack a PMMU
  97. and an interface for an external one.
  98. The following Amigas have the "right" processor built-in: A3000, A3000T,
  99. A4000/40 (not! A4000/30).
  100. The following Ataris (or clones) have the "right" processor built-in:
  101. Atari Falcon (FPU is not standard but needed!), Atari TT, Medusa (not yet
  102. supported), Eagle (not yet supported). Note: In some of the older TTs there
  103. is a bug in the PAL controlling the access to the FPU. This may cause a
  104. crash. A file describing a hardware fix exists (German language only).
  105. Any processor upgrade card with a 68040 or 68030+68881/2 (like PAK/3) is able
  106. to run Linux. Note: The PAK/3 is not yet supported on the Atari.
  107.  
  108. 2.2 RAM
  109. -------
  110. Note: On the Amiga the size of fastram is relevant.
  111. It is possible to boot Linux/m68k with as little as 2 MB. Now you know that
  112. the kernel works on your system - that's it. If you want to work with it you
  113. should have at least 4 MB (8 MB with a X-server).
  114.  
  115. 2.3 Harddisk
  116. ------------
  117. If you want to do more than just boot Linux/m68k you will need 30 - oo (infinity)
  118. MB of space on your hard disk and a supported hard disk controller.
  119.  
  120. 2.4 Software
  121. ------------
  122. Amiga: In order to run amiboot you need AmigaDOS 2.0 or higher (expansion.lib-
  123. rary V36+) and at least version 39 of ixemul.library.
  124.  
  125. 3. Similarities and differences between Amiga and Atari Linux/m68k
  126. ==================================================================
  127.  
  128. 3.1 Similarities
  129. ----------------
  130. All code that depends only on the processor (i.e. paging, systemcalls,
  131. parts of the interrupt handling and of c(o)urse those parts of Linux that
  132. were hand optimized by writing the code in assembler) has to be ported to
  133. Linux/m68k only once. This means that the Amiga and the Atari may use the
  134. same kernel image (in fact the vmlinux from tsx-11 runs on both machines).
  135. Another big bonus is that all user programs (= binaries) should work on
  136. any machine running Linux/m68k no matter whether the machine is an Amiga
  137. or Atari - as long as no machine specific devices are used (see below).
  138.  
  139. 3.2 Differences
  140. ---------------
  141. All code that depends on the hardware is machine dependent and with very
  142. few exceptions which are in the kernel (timer, a small part of interrupt
  143. handling, startup code) has been put into modules called device drivers.
  144. Writing device drivers makes up most of the porting work.
  145.  
  146. 4. The current status of Linux/m68k
  147. ===================================
  148.  
  149. 4.1 General
  150. -----------
  151. What has been done? The kernel (this means all the processor/mmu/fpu specific
  152. stuff) has been ported. Version 09 is based on the Linux 1.0 patchlevel 9
  153. sources but many modules from 1.1 have been integrated since. Several hardware
  154. independent devices have been ported:
  155. Ramdisk, mem, pty, tty, vt, slip, net/inet, general SCSI stuff. Also the fol-
  156. lowing filesystems have been done: minix, ext2, msdos, proc, isofs, affs, nfs,
  157. ppp (affs = Amiga Fast File System, read only).
  158. There exists a X-server which uses the frame buffer device. Frame buffer
  159. devices exist for both Amiga (monochrome only) and Atari.
  160.  
  161. 4.2 Amiga
  162. ---------
  163. Supported built-in hardware:
  164. A3000-SCSI, A4000-IDE, A1200-IDE, serial port, parallel port, mouse, keyboard,
  165. graphics emulates an ASCII-terminal (resolution varies with your chipset/
  166. setup), timer, floppy disk drive (DD and HD, Amiga-formatted disks only).
  167.  
  168. Supported cards:
  169. Several SCSI cards are supported. These are the A2091, A590 and GVP Series II.
  170. To find out whether additional hardware is supported, look at the Linux/m68k
  171. source (config.in provides a list of supported hardware).
  172.  
  173. 4.3 Atari
  174. ---------
  175. SCSI, ACSI, Falcon IDE, serial ports driven by a MFP (i.e. Modem 1 and
  176. Serial 1), keyboard, Atari mouse, parallel printer port, RTC clock, floppy
  177. disk (DD/HD), native Atari graphics (ST/TT/Falcon).
  178. Note: Linux' Minix FS is compatible to the Minix V2 FS used with MiNT.
  179.  
  180. 4.4 Mac
  181. -------
  182. A Mac version is under construction but not yet finished. Main (sole?)
  183. developer is George Andre (dat94gan@ludat.lth.se). He has written a FAQ
  184. about Linux/m68k-Mac which the interested reader should get first. It is
  185. available as ftp://www.ibg.uu.se/pub/maclinux/FAQ.txt. There is a mailing
  186. list too (see: 6.3 Mailinglists).
  187.  
  188. 4.5 PC
  189. ------
  190. As PC's don't have Motorolas inside (except on soundcards and other plug-ins),
  191. this section should read "What parts of Linux/m68k are available for but not
  192. part of Linux/i386?"
  193.  - Amiga Fast File System (read only) tsx-11:/pub/linux/patches/amigaffs.tar.Z
  194.    Please note that most disk controllers for PC, Atari and Mac are not able
  195.    to read Amiga formatted disks (this is a hardware limitation).
  196.  
  197. 5. Hints on installing Linux/m68k
  198. =================================
  199.  
  200. Please note that there is a much better installation doc available. It's the
  201. 'Linux/m68k installation guide' written by Frank Neumann and Ingo Wilken. If
  202. you want to find out whether Linux/m68k runs on your system the hints given
  203. here may be sufficient. If you want to work with your Linux/m68k system you
  204. should get the Installation guide. The address is given below.
  205.  
  206.  0. a) Get the installation guide mentioned above.
  207.     b) Ignore steps 1-8 and follow your new guide.
  208.  1. Get a working kernel, *all* announce files and the bootstrap program for
  209.    your machine (different kernel versions may require different bootstrap
  210.    versions), the root and usr-filesystems and the newfilesys (this is a
  211.    ramdisk that contains everything you will need to set up a working harddisk
  212.    environment). Sources for these programs: See below.
  213.    You will also need gunzip (from the gzip package) for your native OS in
  214.    order to unpack the following .gz files: amiboot/ataboot, new-filesys and
  215.    vmlinux.
  216.    Note: If gunzip succeeds your files are OK. If you want to test the
  217.    integrity of the files you downloaded without decompressing them you
  218.    can do 'gzip -t <filename.gz>'.
  219.  2. Bootstrap the kernel and newfilesys as described in the ANNOUNCE file for
  220.    that kernel. Many of the bootstrap flags available are documented in older
  221.    announce files only.
  222.    Note for Amiga users: You have to install ixemul.library in libs: in order
  223.    to run amiboot. If you have any problems booting linux you may try to
  224.    run this session without executing the startup-sequence. This will prevent
  225.    any manipulation of the MMU as is done by the CPU, SetCPU and Enforcer
  226.    commands.
  227.  3. Create a partition on your harddisk and install an ext2fs filesystem on it.
  228.  4. Create another partition as swapspace.
  229.  5. Unpack the root and usr filesystem onto the disk.
  230.  6. Reboot
  231.  7. Bootstrap your kernel, this time from the harddisk instead of ramdisk.
  232.  8. Get and read the Installation-HOWTO for Linux. Start reading from section
  233.     4 "Installing the Software". Warning: This is for the PC so you may have
  234.     to do things differently at some points.
  235. Installation guide: ftp://ftp.informatik.uni-oldenburg.de
  236.     /pub/amiga/linux/local/docs/Install-Linux_m68k.doc
  237. These are the filenames relative to 680x0/
  238.   ANNOUNCE-0.XXXXXX
  239.   filesys/new-filesys.gz
  240.   filesys/root.tar.gz
  241.   filesys/usr.tar.gz
  242.   bin/gcc-2.5.8.tar.gz
  243.   kernel/vmlinux-0.9pl5.gz
  244.   kernel/amiboot-1.10.gz (Amiga only)
  245.   tools/amiga/ixemul.library (needed to run amiboot)
  246.   kernel/ataboot-0.5.gz (Atari only)
  247.   src/linux-0.9*.gz (the kernel source tree and diff files)
  248.   ../docs/HOWTO/Installation-HOWTO
  249.   The root.tar.gz file contains no gcc, emacs or tcsh. If you are a
  250.   tcsh or emacs addict you will want to get these packages from bin/ too.
  251.   The filesystems naturally contain *no kernel sources*, so you will have
  252.   to get these too.
  253.    
  254. 6. Sources for information/sources/binaries
  255. ===========================================
  256.  
  257. 6.1 Documentation
  258. -----------------
  259. This FAQ is available on ftp://tsx-11-and-mirrors/pub/linux/680x0/FAQ and
  260. http://pfah.informatik.uni-kl.de:8000/pers/jmayer/linux68k-faq. An
  261. installation guide is available on ftp://ftp.informatik.uni-oldenburg.de
  262. /pub/amiga/linux/local/docs/Install-Linux_m68k.doc. The ANNOUNCE files are
  263. valuable documentation too.
  264. Further documents can be found in the directories ftp://tsx-11.mit.edu/pub/
  265. linux/docs/ and ftp://sunsite.unc.edu/pub/Linux/docs. These documents were
  266. written for Linux/i386 but many are useful for Linux/m68k users too (e.g.
  267. howtos on UUCP, PPP and the general Linux FAQ).
  268. A faq on Motorloa chips (including the 680x0 microprocessors) is available.
  269.  
  270. 6.2 Newsgroups
  271. --------------
  272. comp.os.linux.development: This group is on Linux *kernel* development only.
  273.   From time to time it contains messages dealing with the Linux/m68k kernel.
  274. comp.os.linux.announce: This group announces new Linux related products as
  275.   well as new kernel releases. Announcements for new versions of Linux/m68k
  276.   may be found there.
  277. maus.os.linux68k:
  278.   This group deals with Linux/m68k only. The languages currently used are
  279.   German and English.  It should be available at least at the following
  280.   internet site:   news.uni-stuttgart.de (read only)
  281.   The Newsgroup is also available in FidoNet (LINUX-68K.GER).
  282. comp.unix.amiga: This group is for discussions on AMIX, NetBSD and Linux/m68k
  283.   on the Amiga. As most articles on Linux/m68k are not Amiga specific, the
  284.   name is somewhat of a misnomer.
  285. de.comp.sys.amiga.unix: Similar to comp.unix.amiga but in German language.
  286.  
  287. 6.3 Mailinglists
  288. ----------------
  289. I am aware of two mailinglists for Linux/m68k. This is the 680X0 channel of
  290. linux-activists. To find out how to subscribe send an empty mail to
  291. linux-activists-request@niksula.hut.fi. The channel you want to join is
  292. 680X0. Keep the help file! You will want to read the help file again in
  293. order to unsubscribe. The articles on this list are currently mirrored on
  294. maus.os.linux68k. The mailinglists are 2-way mirrored in the linux.act.*
  295. news-hierarchy in some places, for example the 680X0 channel is in the group
  296. linux.act.680X0. Also, a Majordomo mailing list exists. To join send mail to
  297. majordomo@vger.rutgers.edu with no subject and body containing subscribe 680x0.
  298. Content messages should be sent to linux-680x0@vger.rutgers.edu. Note: The
  299. list at niksula.hut.fi is fading out and is being replaced by vger.rutgers.edu.
  300. A mailinglist especially for Linux on Ataris: To subscribe send mail to
  301. majordomo@phil.uni-sb.de, no subject, with body 'subscribe atarix'.
  302. There also exists a mailinglist for Maclinux (not yet released!). To
  303. subscribe send mail to maclinux-request@linux.mednet.gu.se.
  304.  
  305. 6.4 WWW-sites
  306. -------------
  307. Helmut Neukirchen's Linux/m68k WWW page:
  308.   http://www-users.informatik.rwth-aachen.de/~hn/linux68k.html
  309. Mirror of tsx-11 via WWW:
  310.   http://src.doc.ic.ac.uk/packages/Linux/tsx-11-mirror/680x0/
  311.  
  312. 6.5 Ftp-sites
  313. -------------
  314. THE Linux/m68k server:
  315.   ftp://tsx-11.mit.edu/pub/linux/680x0/
  316. THE two Linux servers (sources for you to port to/compile on Linux/m68k):
  317.   ftp://tsx-11.mit.edu/pub/linux/sources/
  318.   ftp://sunsite.unc.edu/pub/Linux/system/
  319. Mirrors (please use the one nearest to you, most of these mirrors are updated
  320. daily):
  321.   ftp://ftp.tu-clausthal.de/pub/systems/Linux/680x0/
  322.   ftp://ftp.informatik.tu-muenchen.de/pub/comp/os/linux/680x0/
  323.   ftp://ftp.informatik.uni-oldenburg.de/pub/linux/680x0/
  324.   ftp://ftp.twi.tudelft.nl/pub/Linux/680x0/
  325.   ftp://ftp.informatik.rwth-aachen.de/pub/Linux/BETA/680x0/
  326.   ftp://ftp.germany.eu.net/pub/os/Linux/Mirror.SunSITE/
  327.   ftp://ftp.fu-berlin.de/pub/atari/linux/
  328.   ftp://src.doc.ic.ac.uk/computing/operating-systems/Linux/tsx-11-mirror/680x0/
  329.   ftp://ftp.uni-erlangen.de/pub/amiga/unix/Linux
  330. Linux on Amiga:
  331.   ftp://ftp.informatik.uni-oldenburg.de/pub/amiga/linux/local/
  332. Linux on Atari (all new patches for Ataris):
  333.   ftp://ftp.phil.uni-sb.de:/pub/atari/linux/
  334. [Please tell me if your favourite mirror is not on this list.]
  335. The kernel source for Linux/m68k can be found in 680x0/src/, a lot of
  336. binaries in 680x0/bin/. A few more tools reside in 680x0/tools/.
  337.  
  338. 6.6 Modem
  339. ---------
  340. If you have a modem, you can get Linux/m68k from the following addresses:
  341.  
  342. 6.6.1 Germany
  343. -------------
  344. System name: nasim
  345. Phone: +49 89 5469593, ZyX19200
  346. Login:  Anon-uucp: nuucp - no password / ZModem: gast - no password
  347. Contents: full 680x0-tree of tsx-11 in /pub/linux-68k
  348. Get first: index file /pub/linux-68k/ls-lR.nasim.linux-68k.gz
  349. Other features: provides uucp access to 680X0 channel (read only) and the
  350.   linux.act.* news-groups
  351. Admin: Frank Bartels (knarf@nasim.cube.net)
  352.  
  353. 6.6.2 Sweden
  354. ------------
  355. Board Name: Balp BBS
  356. Phone: +46-90-199104
  357. Speed: 14.400 v.32"            
  358. Login: Use your own name and download from file Area 180 (Amiga Linux)          Contents: Most of Linux/m68k and some stuff from the Linux/386 distribution
  359. Admin: Anders Arnholm (dvlaam@cs.umu.se, 2:205/504@fidonet, 50:200/104@RPGNet)
  360.  
  361. 6.7 Distributions
  362. -----------------
  363. A distribution for Atari Linux - including a GEM based installation tool - has
  364. been announced by Whiteline for November '94 (they do ads in Atari-magazines)
  365. but is late (by at least one month).
  366.  
  367. 7. Activities
  368. =============
  369.  
  370. 7.1 Coordinator
  371. ---------------
  372. Linux/m68k releases are built and released by Hamish MacDonald (his e-mail is
  373. hamish@border.ocunix.on.ca). 'Built' means that you write a patch against the
  374. current version/patchlevel and he will integrate it into the next release.
  375. Atari specific patches should be sent to Roman Hodek (his e-mail is
  376. rnhodek@cip.informatik.uni-erlangen.de) as Hamish has no way to test them.
  377. If you want your patches to be generally available rather than waiting for
  378. Hamish to integrate them: Post them to the 680X0 channel of linux-activists
  379. and linux-680x0 at least. Hamish has his own pace of doing releases. So read
  380. my lips:-) *Don't push him!*
  381.  
  382. 7.2 Bug reports/Known bugs
  383. --------------------------
  384. Send bugreports to the author of the code or to Hamish (general and Amiga)
  385. or to Roman (Atari). Another approach is to post it to the 680X0 channel or
  386. to the appropriate newsgroup.
  387. If there are bugs that will probably stay for some time let me know so I can
  388. publish them here.
  389.  
  390. 7.3 Under construction/To do
  391. ----------------------------
  392. I would like to have a list of projects planned/started, similar to the
  393. Linux Project-FAQ. If you send me infos I will put them into this section.
  394.  
  395. 7.3.1 General
  396. -------------
  397. Affs: Write code, other DOS types and special root block handling missing.
  398. Documentation: A Linux/m68k update of the khg (Kernel hackers guide) needs to
  399.   be written (especially the mmu specific stuff). Infos on the machine
  400.   abstraction would be nice too.
  401.  
  402. 7.3.2 Amiga
  403. -----------
  404. Concept/code for the use of chip ram and the blitter from user space.
  405.  
  406. 7.3.3 Atari
  407. -----------
  408. SCC-Treiber (rnhodek@cip.informatik.uni-erlangen.de)
  409. Console for ET4000
  410. Falcon: better gfx support (more modes)
  411. Medusa, PAK/3 support
  412.  
  413. 8. Famous last words
  414. ====================
  415.  
  416. You are free to distribute this FAQ as part of a Linux distribution or a
  417. CD image of one of the major ftp-sites.
  418. Amiga, Atari, Motorola, Unix and perhaps some more words I used in this text
  419. are trademarks. So what?
  420.  
  421. -----------
  422. J"org Mayer  Student an der  Universit"at Kaiserslautern
  423. http      :  http://pfah.informatik.uni-kl.de:8000/pers/jmayer.txt
  424. e-mail    :  jmayer@informatik.uni-kl.de    //   PGPid: 0xFB2461E1
  425. phone     :  Kaiserslautern: 205-3348 (Uni) //    3100480 (privat)
  426. snail-mail:  Beethovenstr. 44 // 67655 Kaiserslautern  //  Germany
  427.